/*
 * Created on 2008-10-29
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package control.database;

/**
 * @author Administrator
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
public class Users {

     private String UserID;
     private String UserName;
     private String Password;
     private String Email;
     private String BranchID;
     private String IsValid;
     private String Telphone;
     
     public Users(){
     	
     }
     
     public String Users_Add(){
       String sql="insert into Users(UserName,Password,Email,BranchID,IsValid,Telphone)values('"+this.UserName+"','"+this.Password+"','"+this.Email+"','"+this.BranchID+"','"+this.IsValid+"','"+this.Telphone+"')";	
       return sql;
     }
 	/**
 	 * @return Returns the branchID.
 	 */
 	public String getBranchID() {
 		return BranchID;
 	}
 	/**
 	 * @param branchID The branchID to set.
 	 */
 	public void setBranchID(String branchID) {
 		BranchID = branchID;
 	}
 	/**
 	 * @return Returns the email.
 	 */
 	public String getEmail() {
 		return Email;
 	}
 	/**
 	 * @param email The email to set.
 	 */
 	public void setEmail(String email) {
 		Email = email;
 	}
 	/**
 	 * @return Returns the isValid.
 	 */
 	public String getIsValid() {
 		return IsValid;
 	}
 	/**
 	 * @param isValid The isValid to set.
 	 */
 	public void setIsValid(String isValid) {
 		IsValid = isValid;
 	}
 	/**
 	 * @return Returns the password.
 	 */
 	public String getPassword() {
 		return Password;
 	}
 	/**
 	 * @param password The password to set.
 	 */
 	public void setPassword(String password) {
 		Password = password;
 	}
 	/**
 	 * @return Returns the userID.
 	 */
 	public String getUserID() {
 		return UserID;
 	}
 	/**
 	 * @param userID The userID to set.
 	 */
 	public void setUserID(String userID) {
 		UserID = userID;
 	}
 	/**
 	 * @return Returns the userName.
 	 */
 	public String getUserName() {
 		return UserName;
 	}
 	/**
 	 * @param userName The userName to set.
 	 */
 	public void setUserName(String userName) {
 		UserName = userName;
 	}
	/**
	 * @return Returns the telphone.
	 */
	public String getTelphone() {
		return Telphone;
	}
	/**
	 * @param telphone The telphone to set.
	 */
	public void setTelphone(String telphone) {
		Telphone = telphone;
	}
}
